<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改妙手订单信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-MsPackage-edit" th:object="${msPackage}">
            <input name="msPackageId" th:field="*{msPackageId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台包裹id：</label>
                <div class="col-sm-8">
                    <input name="opOrderPackageId" th:field="*{opOrderPackageId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">店铺id：</label>
                <div class="col-sm-8">
                    <input name="shopId" th:field="*{shopId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单id：</label>
                <div class="col-sm-8">
                    <input name="opOrderId" th:field="*{opOrderId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台包裹编码：</label>
                <div class="col-sm-8">
                    <input name="platformPackageId" th:field="*{platformPackageId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台包裹编码：</label>
                <div class="col-sm-8">
                    <input name="appPackageNo" th:field="*{appPackageNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台包裹编码：</label>
                <div class="col-sm-8">
                    <input name="platformPackageNo" th:field="*{platformPackageNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">货代授权id：</label>
                <div class="col-sm-8">
                    <input name="logisticsAgentAuthId" th:field="*{logisticsAgentAuthId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">货代产品id：</label>
                <div class="col-sm-8">
                    <input name="logisticsAgentProductId" th:field="*{logisticsAgentProductId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品数量：</label>
                <div class="col-sm-8">
                    <input name="itemQuantity" th:field="*{itemQuantity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品种类：</label>
                <div class="col-sm-8">
                    <input name="itemVariety" th:field="*{itemVariety}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否隔离件：</label>
                <div class="col-sm-8">
                    <input name="isIsolation" th:field="*{isIsolation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否已发货：</label>
                <div class="col-sm-8">
                    <input name="isShipped" th:field="*{isShipped}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流公司编码：</label>
                <div class="col-sm-8">
                    <input name="logisticsNo" th:field="*{logisticsNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流公司名称：</label>
                <div class="col-sm-8">
                    <input name="logisticsCompany" th:field="*{logisticsCompany}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流方式：</label>
                <div class="col-sm-8">
                    <input name="logisticsMethod" th:field="*{logisticsMethod}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">头程物流公司编码：</label>
                <div class="col-sm-8">
                    <input name="headLogisticsNo" th:field="*{headLogisticsNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">头程物流公司名称：</label>
                <div class="col-sm-8">
                    <input name="headLogisticsCompany" th:field="*{headLogisticsCompany}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">头程物流公司id：</label>
                <div class="col-sm-8">
                    <input name="headLogisticsCompanyId" th:field="*{headLogisticsCompanyId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">运货单方式：</label>
                <div class="col-sm-8">
                    <input name="waybillOssPath" th:field="*{waybillOssPath}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台运货单格式：</label>
                <div class="col-sm-8">
                    <input name="platformWaybillFormat" th:field="*{platformWaybillFormat}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">isApplyTrackingNoFail：</label>
                <div class="col-sm-8">
                    <input name="isApplyTrackingNoFail" th:field="*{isApplyTrackingNoFail}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="appNote" th:field="*{appNote}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预报包裹金额：</label>
                <div class="col-sm-8">
                    <input name="predictPackAmount" th:field="*{predictPackAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审计时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtAudit" th:value="${#dates.format(msPackage.gmtAudit, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流商方式：</label>
                <div class="col-sm-8">
                    <input name="getLogisticsNoMethod" th:field="*{getLogisticsNoMethod}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">申请物流单时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtApplyLogisticsNo" th:value="${#dates.format(msPackage.gmtApplyLogisticsNo, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">获取物流单时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtGetLogisticsNo" th:value="${#dates.format(msPackage.gmtGetLogisticsNo, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">打印运货单时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtPrintWaybill" th:value="${#dates.format(msPackage.gmtPrintWaybill, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">打印拣货清单时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtPrintPickingList" th:value="${#dates.format(msPackage.gmtPrintPickingList, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后收货时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtLastDelivery" th:value="${#dates.format(msPackage.gmtLastDelivery, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收货时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtDelivery" th:value="${#dates.format(msPackage.gmtDelivery, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单完成时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtFinish" th:value="${#dates.format(msPackage.gmtFinish, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单隔离时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtIsolation" th:value="${#dates.format(msPackage.gmtIsolation, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单创建时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtCreate" th:value="${#dates.format(msPackage.gmtCreate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单修改时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtModified" th:value="${#dates.format(msPackage.gmtModified, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">具备发货时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtReadyToShip" th:value="${#dates.format(msPackage.gmtReadyToShip, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台：</label>
                <div class="col-sm-8">
                    <input name="platform" th:field="*{platform}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">站点：</label>
                <div class="col-sm-8">
                    <input name="site" th:field="*{site}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单号：</label>
                <div class="col-sm-8">
                    <input name="platformOrderSn" th:field="*{platformOrderSn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">店铺名称简写：</label>
                <div class="col-sm-8">
                    <input name="shopNick" th:field="*{shopNick}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">店铺名称：</label>
                <div class="col-sm-8">
                    <input name="platformShopName" th:field="*{platformShopName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">全球店铺id：</label>
                <div class="col-sm-8">
                    <input name="masterPlatformShopId" th:field="*{masterPlatformShopId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台店铺id：</label>
                <div class="col-sm-8">
                    <input name="platformShopId" th:field="*{platformShopId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台名称：</label>
                <div class="col-sm-8">
                    <input name="platformName" th:field="*{platformName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">站点名称：</label>
                <div class="col-sm-8">
                    <input name="siteName" th:field="*{siteName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">投送失败原因：</label>
                <div class="col-sm-8">
                    <input name="shipFailReason" th:field="*{shipFailReason}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">申请运单号失败原因：</label>
                <div class="col-sm-8">
                    <input name="applyTrackingNoFailReason" th:field="*{applyTrackingNoFailReason}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "ms/MsPackage";
        $("#form-MsPackage-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-MsPackage-edit').serialize());
            }
        }

        $("input[name='gmtAudit']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtApplyLogisticsNo']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtGetLogisticsNo']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtPrintWaybill']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtPrintPickingList']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtLastDelivery']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtDelivery']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtFinish']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtIsolation']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtCreate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtModified']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtReadyToShip']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>